package com.aodonghao.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private String number;
    private String name;
    @JsonFormat(pattern = "yyyy-mm-dd",timezone = "GMT+8")
    private Date birthday;
    private String address;
}
